home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / gnu / include / incl98.zoo / dir.h < prev    next >
C/C++ Source or Header  |  1993-02-20  |  421b  |  19 lines

  1. /*
  2.  * kludge city: fake out BSD'ish compatible dir routines with
  3.  * our Posix comaptible portable dir stuff
  4.  */
  5.  
  6. #ifndef _SYS_DIR_H
  7. #define _SYS_DIR_H
  8.  
  9. #ifdef _DIRENT_H
  10. #  error "<sys/dir.h>: You cannot use both <dirent.h> and <sys/dir.h>. \n\
  11.         <sys/dir.h> is provided for BSD compatibility\n"
  12. #endif
  13.  
  14. /* note that the presence of _SYS_DIR_H causes dirent.h to
  15.  * behave differently
  16.  */
  17. #include <dirent.h>
  18. #endif
  19.